package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CustomerVisit;
import cn.wolfcode.car.business.query.CustomerVisitQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

/**
 * 服务预约接口
 */
public interface ICustomerVisitService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<CustomerVisit> query(CustomerVisitQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    CustomerVisit get(Long id);


    /**
     * 保存
     * @param customerVisit
     */
    void save(CustomerVisit customerVisit);

  
    /**
     * 更新
     * @param customerVisit
     */
    void update(CustomerVisit customerVisit);

    /**
     * 查询全部
     * @return
     */
    List<CustomerVisit> list();
}
